package cn.iocoder.yudao.module.ems.controller.admin.spares.vo;

import lombok.*;
import java.util.*;
import io.swagger.annotations.*;
import javax.validation.constraints.*;

/**
* 备品备件 Base VO，提供给添加、修改、详细的子 VO 使用
* 如果子 VO 存在差异的字段，请不要添加到这里，影响 Swagger 文档生成
*/
@Data
public class SparesBaseVO {

    @ApiModelProperty(value = "物料编号", required = true)
    @NotNull(message = "物料编号不能为空")
    private String itemNo;

    @ApiModelProperty(value = "备品备件名称", required = true)
    @NotNull(message = "备品备件名称不能为空")
    private String name;

    @ApiModelProperty(value = "规格型号", required = true)
    @NotNull(message = "规格型号不能为空")
    private String specification;

    @ApiModelProperty(value = "库存数量")
    private Integer amount;

    @ApiModelProperty(value = "上限")
    private Integer upperLimit;

    @ApiModelProperty(value = "下限")
    private Integer lowerLimit;

    @ApiModelProperty(value = "采购周期")
    private Integer cycle;

    @ApiModelProperty(value = "采购周期单位")
    private Integer cycleUnit;

    @ApiModelProperty(value = "更换周期")
    private Integer changeCycle;

    @ApiModelProperty(value = "更换周期单位")
    private Integer changeCycleUnit;

    @ApiModelProperty(value = "品牌")
    private String brand;

    @ApiModelProperty(value = "类别id", required = true)
    private Long classificationId;

    @ApiModelProperty(value = "仓库id", required = true)
    private Long storeId;

    @ApiModelProperty(value = "单价")
    private Long price;

    @ApiModelProperty(value = "标签码")
    private String labelingCode;

    @ApiModelProperty(value = "附件")
    private String enclosure;

    @ApiModelProperty(value = "图片")
    private String image;

    @ApiModelProperty(value = "备注")
    private String remarks;

    @ApiModelProperty(value = "状态", required = true, example = "1")
    @NotNull(message = "状态不能为空")
    private Integer status;

}
